import { defineStore } from "pinia";
export default defineStore("index", {
    state: () => ({
        count: 100,
    }),
    getters: {
        doubleCount(state) {
            return state.count * 2;
        },
    },
    actions: {
        increment(count) {
            this.count += count;
        },
    },
});
